<!--
 * Copyright TLR Team, Inc. All Rights Reserved.
-->

<div class="user2-bg">
    <div class="container-fluid">
        <!-- /.row -->
        <div class="row">
            <div class="device-item-title item-font title-bg">
                <div class="device-title-txt">空气净化器修改</div>
                <div class="right-triangle"></div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container">
                <div class="device-item background item-font tlr-form-control-layout">
                    <div class="tlr-reg-label">设备码<span style="color:red;">*</span></div>
                    <div style="margin-left:10px;margin-top:12px;float:left;height:30px;max-width:110px;border-bottom:1px solid grey;" class="device-id">
                        <span style='font-size:13px;'>{{airp.deviceMac}}</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout tlr-form-first-offset">
                    <div class="tlr-reg-label">昵称<span style="color:red;">*</span></div>
                    <div style="padding-left:10px;float:left;">
                        <input type="text" class="form-control tlr-login-input" ng-model="airp.nickname">
                    </div>
                </div>
            </div>
        </div>
        <div class="row" ng-click="updateDevicePosition(airp.deviceMac)">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout tlr-form-first-offset">
                    <div class="item-font" style="margin-top:16px;">更新设备位置</div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 8px;">
                <div class="device-item background item-font" style="height:60px;text-align:center;font-size:20px;">
                    <div style="padding-top: 18px;" ng-click="airPurifierDeviceBind()" ><span class="item-font">保存</span></div>
                </div>
                <!--
                <div class="device-item background item-font" style="height:60px;text-align:center;font-size:20px;">
                    <div style="padding-top: 18px;" ng-click="airPurifierDelDeviceBind()" ><span class="item-font">删除</span></div>
                </div> -->
            </div>
        </div>
        <!-- /.row -->
    </div>
</div>
